﻿{extend name="public:base" /}

{block name="content"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-content">
                    <div class="table-responsive">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th>ID</th>
                                <th>送礼人</th>
                                <th>内容</th>
                                <th>礼物封面图</th>
                                <th>礼物名称</th>
                                <th>礼物积分</th>
                                <th>使用积分</th>
                                <th>付款金额</th>
                                <th>广告</th>
                                <th>创建时间</th>
                            </tr>
                            </thead>
                            <tbody>
                            {volist name="list" id="vo"}
                            <tr>
                                <td>{$vo.id}</td>
                                <td>{$vo.username} / {$vo.mobile}</td>
                                <td>{$vo.music_title ? $vo.music_title : $vo.content}</td>
                                <td><img src="{$vo.gift_img}" style="width: 100px;height: 100px; object-fit: cover;" /></td>
                                <td>{$vo.gift_name}</td>
                                <td>{$vo.gift_integral}</td>
                                <td>{$vo.use_integral}</td>
                                <td>{$vo.use_price}</td>
                                <td>{$vo.use_ad_id}</td>
                                <td>{:timeFormat($vo.create_time)}</td>
                            </tr>
                            {/volist}
                            </tbody>
                        </table>
                        {if !empty($list)}{$list->render()}{/if}
                    </div>

                </div>
            </div>
        </div>

    </div>
</div>

{/block}